package org.dromara.bean.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.bean.domain.HisDoctor;
import org.dromara.bean.domain.bo.HisDoctorBo;
import org.dromara.bean.domain.vo.HisDoctorVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 医生Mapper接口
 *
 * @author Lion Li
 * @date 2024-10-18
 */
public interface HisDoctorMapper extends BaseMapperPlus<HisDoctor, HisDoctorVo> {

    /**
     * 获取信息
     *
     * @param page         分页
     * @param queryWrapper 条件
     * @return 结果
     */
    Page<HisDoctorVo> selectDoctorVoPage(@Param("page") Page<HisDoctorVo> page, @Param(Constants.WRAPPER) Wrapper<HisDoctor> queryWrapper);

    HisDoctorVo selectDoctorById(Long id);

}
